package org.millioncall.yueyoga.admin.service;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Status;

public interface StatusService {

	public List<Status> findByType(int i);

	public List<Status> findByParentCode(String code);

	public Status findByCode(String substatus);

	public Status findById(int parseInt);

	public PaginatedList<Status> getStatusInPage(int i, int pageSize,
			Map<String, Object> map);

	public boolean insert(Status status);

	public void deleteStatusByIds(Integer[] deids);

	public boolean update(Status status);

}
